package org.jdemo.feature.primitive;

import java.util.ArrayList;
import java.util.List;

/**
 * ArrayTest
 *
 * @author longlin(longlin@cyou-inc.com)
 * @date 2014/7/6
 * @since V1.0
 */
public class ListTest {
    public static void main(String[] args) {
        List<String> list = new ArrayList<String>();
        list.add("a");
        list.add("b");
        list.add("c");
        for (String s : list) {
            s = s.toUpperCase();
        }

        for (String s : list) {
            System.out.println(s);
        }
    }
}
